#pragma once
#include "MaterialParameter.h"

//
// MaterialInstance
//
class MaterialInstance
{
public:
	MaterialInstance(const Material* parent);
	~MaterialInstance();

	const Material* getParent() const { return mParent; }
	const MaterialParameter& getMaterialParam() const { return mMaterialParameter; }
	MaterialParameter& getMaterialParam() { return mMaterialParameter; }

private:
	const Material* mParent;
	MaterialParameter mMaterialParameter;
};
